package user;

public class AdminUserException extends RuntimeException{
    public String name="admin";
    public AdminUserException() {
        super();
    }
    public AdminUserException(String str) {
        super(str);
    }
    public void adminUserNameException(String name) {
        if(!this.name.equals(name)) {
            throw new AdminUserException("管理员用户名输入有误!");
        }
    }
}
